package net.extrema.bbm.db;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Bus {

	@Id
	private Integer id;

	private List<Seat> seats = new ArrayList<Seat>();

	public Integer getId() {
		return id;
	}

	public List<Seat> getSeats() {
		return seats;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setSeats(List<Seat> seats) {
		this.seats = seats;
	}
}
